package com.garlic.face.jlf.transaction.bean;

//交易总表
public class TradeHead {
    private static final String TAG = "TradeHead";
    private int Flag = 0;//结算标志 0-初始 1-开始结算 2-交易完成
    private String transnmbr = "";//交易号
    private Double qty = 0.00;//商品数量
    private Double count = 0.00;//商品count数。计重商品count+1,其他+qty
    private Double amount = 0.00;//实收金额
    private Double disc_amt = 0.00;//折扣金额
    private Double pay_amt = 0.00;//已付金额
    private String custcode = "";//会员卡号
    private String points = "";//本次积分
    private Double last_points = 0.00;//上次积分

    private Double weight = 0.00;//新增商品总量属性
    private Double remian = 0.00;

    public Double getWeight() {
        return weight;
    }

    public void setWeight(Double weight) {
        this.weight = weight;
    }

    public static String getTAG() {
        return TAG;
    }

    public String getTransnmbr() {
        return transnmbr;
    }

    public Double getAmount() {
        return amount;
    }

    public Double getDisc_amt() {
        return disc_amt;
    }

    public Double getLast_points() {
        return last_points;
    }

    public Double getPay_amt() {
        return pay_amt;
    }

    public Double getQty() {
        return qty;
    }

    public Double getCount() {
        return count;
    }

    public int getFlag() {
        return Flag;
    }

    public String getCustcode() {
        return custcode;
    }

    public void setAmount(Double amount) {
        this.amount = amount;
    }

    public void setTransnmbr(String transnmbr) {
        this.transnmbr = transnmbr;
    }

    public void setQty(Double qty) {
        this.qty = qty;
    }

    public void setCount(Double count) {
        this.count = count;
    }

    public void setFlag(int flag) {
        Flag = flag;
    }

    public void setCustcode(String custcode) {
        this.custcode = custcode;
    }

    public void setDisc_amt(Double disc_amt) {
        this.disc_amt = disc_amt;
    }

    public void setLast_points(Double last_points) {
        this.last_points = last_points;
    }

    public void setPay_amt(Double pay_amt) {
        this.pay_amt = pay_amt;
    }


    public String getPoints() {
        return points;
    }

    public void setPoints(String points) {
        this.points = points;
    }

    public Double getRemian() {
        return remian;
    }

    public void setRemian(Double remian) {
        this.remian = remian;
    }

    @Override
    public String toString() {
        return "TradeHead{" +
                "Flag=" + Flag +
                ", transnmbr='" + transnmbr + '\'' +
                ", qty=" + qty +
                ", count=" + count +
                ", amount=" + amount +
                ", disc_amt=" + disc_amt +
                ", pay_amt=" + pay_amt +
                ", custcode='" + custcode + '\'' +
                ", points=" + points +
                ", last_points=" + last_points +
                ", weight=" + weight +
                ", remain=" + remian +
                '}';
    }
}
